package com.samebuilding.service;

import java.util.List;

import com.samebuilding.domain.Diary;

public interface DiaryService {
	public List<Diary> findByUserNo(int userNo);
	public List<Diary> findByUserNoDWR(int userNo);
	public Diary findById(int id);
	public void saveDiary(Diary d);
	public void editDiary(Diary d);
	public void deleteDiary(Diary d);
	
	
	
	public List<Diary> findByUserNo(int userNo, int start, int limit);
	public int findCountByUserNo(int userNo);
	
	public void deleteDiary(int id, int userNo);
}
